package com.keya.features.tool;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * MoveSCU 结果
 *
 * @author : xf.he
 * @version : 1.0 2023/11/2
 * @since : 1.0
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class MoveResult {

    //0000成功，FF00等待
    private int status = -1;
    private int numberOfRemainingSuboperations = -1;
    private int numberOfCompletedSuboperations = -1;
    private int numberOfFailedSuboperations = -1;
    private int numberOfWarningSuboperations = -1;

    public boolean isSuccess() {
        return status == 0;
    }
}
